package com.cuijq.ms.template.v1;

/**
 * @author by CuiJQ
 * @Classname AbstractClass
 * @Description AbstractClass Description
 * @Date 2021/5/28 20:09
 */
public abstract class AbstractClass {

  public final void templateMethod() {
    //...
    method1();
    //...
    method2(); //...
  }

  protected abstract void method1();

  protected abstract void method2();
}
